package com.retrofit.demo.api;

import com.breeze.toolkit.retrofit.APIBaseResponse;

/**
 * Created by john on 2016/8/15.
 */
public class OauthToken extends APIBaseResponse {
	private int id;

	private String access_token;

	private String token_type;

	private String refresh_token;

	private int expires_in;//单位秒

	private long expired_time;//单位秒

	private String scope;

	public int getId() {
		return id;
	}

	public String getAccessToken() {
		return access_token;
	}

	public String getTokenType() {
		return token_type;
	}

	public String getRefreshToken() {
		return refresh_token;
	}

	public int getExpires() {
		return expires_in;
	}

	public long getExpiredTime() {
		return expired_time;
	}

	public String getScope() {
		return scope;
	}

	/**
	 * 是否无内容
	 */
	@Override
	public boolean isEmpty() {
		//return super.isEmpty();
		return false;
	}
}
